package service

import (
	"gin_wuwen_back/dao"
	"gin_wuwen_back/model"
)

type FoodCateServer struct {
}

/*
  @Description:获取美食类别
  @receiver tmp
*/
func (tmp *FoodCateServer) FoodCateServerFunc() ([]model.FoodCategory, error) {
	//接下来就是调用model层
	FoodCateDao := dao.NewFoodCateDao()
	return FoodCateDao.QueryFoodCateDao()

}
